package com.itheima.discuss.controller;

import com.itheima.discuss.domain.Discuss;
import com.itheima.discuss.service.DiscussService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/discuss")
public class DiscussController {
    /**
     * 待完成接口：
     * 1 GET /{id} 获取记录详情
     */

    /**
     * 待完成接口：
     * 2 GET /list 获取所有记录列表
     */
}
